Exporting a Modbus Address Map

The EPM Modbus Server automatically generates a Modbus address map for the comms link each time the application is submitted. When a Modbus Server comms link is first added, no address map exists. After the first submit, an address map is created automatically. This map includes all channel values, channel value status, Channel Alarm Active and Unacknowledged status, Batch State, Batch Fields, and basic Batch control commands for the application.

Timer channels are not included. All other channel types are included: Hardwired I/O, Maths, Totalizers, Counters, and Applications.

On subsequent submits, the Modbus address map is not recreated from scratch. Instead, it is updated to minimize changes and help preserve any existing remote client configuration.

When changes are submitted:

  • If the change does not affect channels or batch data (for example, enabling the Web Server), the Modbus address map is not changed.

  • When a channel or batch is deleted, the association between the Modbus address(es) and the channel or batch data is cleared. The address(es) remain in the EPM Modbus Server unless the gap created is too large when they are removed. A remote client can read the address with a zero value, but cannot write to it.

  • When a channel or batch is added, additional addresses are allocated at the end of the address map for the new channel or batch data.

  • When a channel or batch type is changed, or when the Modbus Server Default Numeric Format or Default String Format parameters are changed, each address in the Modbus address map is checked to determine whether the associated data type or register count has changed. For each changed parameter, it is treated as if it had been deleted and added again, and is moved to the end of the register map.

Extensive channel or batch deletions, or changes to the default data formats in the Modbus Server settings, can lead to fragmentation of the address map.

Fragmentation can only be removed by deleting the address map and submitting the change to generate a new map. The remote client configuration must then be updated to match the new address map. See Deleting a Modbus Address Map for details.

Note - You can only access this function if you have the Can access Communications Link permission. To update settings you must also have the Can edit Communication Link permission. If you need to access these functions and do not have permission, please contact your system administrator.
Note - Adding, deleting, or editing channels, or changing the Modbus server configuration, usually changes the register map. Export the register map after you submit the configuration changes so that you have an up-to-date copy for configuring the Modbus client.

To export an address map:

  1. Insert Universal Serial Bus Type-C (USB-C) flash drive if you are exporting from an EPM Data Management device.

    Note - When exporting from a web browser, the file is saved in your PC’s Downloads folder. See Export File name for details.
  2. From EPM User Interface screen, select Options - Device I/O - Comms Link:

  3. The Comms Link screen displays:

    From the left-hand pane, select Options - Export Address Map:

  4. The Address map downloaded message displays briefly at the top right corner of the screen.

Note - When your address map is empty, the Register map empty message displays at the top right corner of the screen.